package com.itheima.stock.pojo.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 *
 */
import java.math.BigDecimal;
import java.util.Date;
@ApiModel(description = "定义大盘数据的领域对象")
@Data
public class InnerMarkDomain {
    @ApiModelProperty("大盘编码")
    private String code; //大盘编码
    @ApiModelProperty("指数名称")
    private String name; //指数名称
    @ApiModelProperty("开盘点")
    private BigDecimal openPoint; //开盘点
    @ApiModelProperty("当前点")
    private BigDecimal curPoint; //当前点
    @ApiModelProperty("前收盘点")
    private BigDecimal preClosePoint; //前收盘点
    @ApiModelProperty("交易量")
    private Long tradeAmt; //交易量
    @ApiModelProperty("交易金额")
    private BigDecimal tradeVol; //交易金额
    @ApiModelProperty("涨跌值")
    private BigDecimal upDow; //涨跌值
    @ApiModelProperty("涨幅")
    private BigDecimal rose; //涨幅
    @ApiModelProperty("振幅")
    private BigDecimal amplitude; //振幅
    @ApiModelProperty("当前时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date curTime; //当前时间
}
